<?php
$FileInclude = Dracosys::getSessionValue(SESSION_INTERFACE, 'INCLUDE');
$StPackage = Dracosys::getSessionValue(SESSION_INTERFACE, 'PACKAGE_VIEW');
?>
<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <title></title>
        <meta charset="utf-8">
        <link rel="stylesheet" href="<?= DRA_VIEW_URL ?>css/reset.css" type="text/css" media="all" />
        <link rel="stylesheet" href="<?= DRA_VIEW_URL ?>css/grid.css" type="text/css" media="all" />
        <link rel="stylesheet" href="<?= DRA_VIEW_URL ?>css/style.css" type="text/css" media="all" />
        <link rel="stylesheet" href="<?= DRA_VIEW_URL ?>css/calendario.css" type="text/css" media="all" />
        <link rel="stylesheet" href="<?= DRA_VIEW_URL ?>css/pages.css" type="text/css" media="all" />
        <!--[if lt IE 7]>
          <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/ie_png.js"></script>
          <script type="text/javascript">
              ie_png.fix('.png, .logo img, header nav a, header .extra-navigation a, img.icon');
          </script>
        <![endif]-->
        <!--[if lt IE 9]>
              <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/html5.js"></script>
        <![endif]-->
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/jquery.1.6.2.js"></script>
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/mask_jquery.js"></script>
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/tablesorter_jquery.js"></script>
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/jquery.click-calendario-1.0-min.js"></script>
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/jquery_priceformat-1.7.min.js"></script>
        <script type="text/javascript" src="<?= DRA_VIEW_URL ?>js/dracosys.js"></script>
        <script type="text/javascript">
            var Configs = {
                'Controller' : '<?= ucwords(getController()); ?>',
                'Action' : '<?= getAction(); ?>',
                'Menu' : {
                    'main' : '<?= ucfirst(strtolower(Menu::getSelected())) ?>'
                },
                'Patterns' : {
                    'Controller' : '<?=ucwords(DEFAULT_CONTROLLER_INDEX)?>',
                    'Action' : '<?=DEFAULT_ACTION_INDEX?>'
                },
                'Site' : {
                    'url' : '<?=DRA_URL?>',
                    'params' : '<?=getPath()?>',
                    'ping' : '<?=DRA_URL?>ping',
                    'userUpdate' : '<?=DRA_URL?>ping/update-user',
                    'loader' : '<?=DRA_VIEW_URL?>images/ajax-loader.gif'
                },
                'Messages' : {
                    'feedback' : '<?=$this->getFeedbackMessage()?>'
                }
            };
        </script>
    </head>
    <body class="index">

        <!-- header -->
        <header id="header">
            <?php $this->getHeader(); ?>
        </header>
        <!-- content -->
        <section id="content">
            <div class="home">
                <div class="container_24">
                    <div class="menu">
                        <?php $this->getSubMenu(); ?>
                    </div>
                    <div class="wrapper">
                        <section id="Messages">
                            <p class="hide"></p>
                        </section>
                        <?php $this->getContent($StPackage, $FileInclude); ?>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        </section>
        <!-- footer -->
        <footer>
            <?php $this->getFooter(); ?>
        </footer>
    </body>
</html>
